//
.container {
    padding: 16px;
}
.right-box {
    .title-h3 {
        font-size: 16px;
        border-bottom: 1px solid $borderColor;
        padding: 0 16px 16px 0;
        margin-bottom: 8px;
        .span-normal{
            font-weight: normal;
            padding-left: 16px;
            color: $grey;
        }
    }

    .ant-tabs-bar {
        margin-bottom: 8px;
    }
    .search-cont {
        @include clearfix;
        margin-bottom: 8px;
        .ant-group > .ant-btn:first-child:not(:last-child),
        .ant-group > .ant-btn:last-child:not(:first-child) {
            padding-right: 15px;
            padding-left: 15px;
        }
        //搜索
        div[class*="ant-col-"] {
            margin-top: 8px;
            margin-bottom: 8px;
            .ant-select {
                width: 100%;
            }
            div[class*="ant-col-"] {
                margin-top: 0;
                margin-bottom: 0;
            }
        }
        .time-a-cont {
            .ant-radio-button-wrapper {
                padding: 0 6px;
            }
            .time-a {
                color: $blue;
                line-height: 32px;
                margin-right: 5px;
                &:hover {
                    color: lighten($blue, 5%);
                }
                &:active {
                    color: darken($blue, 5%);
                }
            }
        }
        .search-btncont {
            text-align: right;
            &.search-btncontfr {
                float: right;
                margin-top: 8px;
            }
        }
    }
    .search-cont2 {
        margin-bottom: 16px;
        padding-top: 16px;
        border-top: 1px solid $borderColor;
        &.border-top-none {
            padding-top: 8px;
        }
    }
}

.right-box-fold {
    .title-h3 {
        font-size: 16px;
        border-bottom: 1px solid $borderColor;
        padding: 0 16px 16px 0;
        margin-bottom: 8px;
        .span-normal{
            font-weight: normal;
            padding-left: 16px;
            color: $grey;
        }
    }

    .ant-tabs-bar {
        margin-bottom: 8px;
    }
    .search-cont {
        @include clearfix;
        margin-bottom: 8px;
        .ant-group > .ant-btn:first-child:not(:last-child),
        .ant-group > .ant-btn:last-child:not(:first-child) {
            padding-right: 15px;
            padding-left: 15px;
        }
        //搜索
        div[class*="ant-col-"] {
            margin-top: 8px;
            margin-bottom: 8px;
            .ant-select {
                width: 100%;
            }
            div[class*="ant-col-"] {
                margin-top: 0;
                margin-bottom: 0;
            }
        }
        .time-a-cont {
            .ant-radio-button-wrapper {
                padding: 0 6px;
            }
            .time-a {
                color: $blue;
                line-height: 32px;
                margin-right: 5px;
                &:hover {
                    color: lighten($blue, 5%);
                }
                &:active {
                    color: darken($blue, 5%);
                }
            }
        }
        .search-btncont {
            text-align: right;
            &.search-btncontfr {
                float: right;
                margin-top: 8px;
            }
        }
    }
    .search-cont2 {
        margin-bottom: 16px;
        padding-top: 16px;
        border-top: 1px solid $borderColor;
        &.border-top-none {
            padding-top: 8px;
        }
    }
}
.statistics {
    margin-bottom: 16px;
    padding: 0 8px 8px 8px;
    background: #f1f1f1;
    @include border-radius();
    position: relative;
    div[class*="ant-col-"] {
        margin-top: 8px;
    }
    .num {
        color: $orange;
    }
    .statistics-close {
        position: absolute;
        right: 0;
        top: 0;
        height: 18px;
        width: 18px;
        z-index: 9;
        .anticon-close-square {
            font-size: 18px;
            color: $red;
        }
    }
}
.btn-bom {
    .ant-btn {
        margin-left: 8px;
        &:first-child {
            margin-left: 0;
        }
    }
    &.btn-bom-right {
        text-align: right;
    }
}
.upfile-link {
    position: relative;
    .upfile-input {
        position: absolute;
        @include opacity(0);
        left: 0;
        right: 0;
        top: 0;
        bottom: 0;
        margin: auto;
        text-indent: 99999px;
        width: -webkit-fill-available;
        cursor: pointer;
    }
}
.aut-table {
    .upfile-link {
        .upfile-input {
            max-width: 24px;
        }
    }
}
.tips-p {
    color: $grey;
    font-size: 12px;
}

.fen-run-set {
    padding: 8px 0;
    .fu-title {
        font-size: 14px;
        margin-bottom: 16px;
    }
}

//测评模板管理
.title-h4 {
    margin: 16px 8px;
    padding-left: 8px;
    border-left: 3px solid $blue;
    font-size: 14px;
}
.templete-cont {
    @include clearfix;
    .templete-li {
        margin: 8px 19px;
        float: left;
        width: 185px;
        height: 255px;
        position: relative;
        overflow: hidden;
        @include border-radius();
        @include box-shadow(0,0,10px,rgba(0,0,0,0.3));
        .templete-img {
            width: 185px;
            height: 255px;
            display: block;
            @include border-radius();
            img {
                width: 100%;
                height: 100%;
            }
        }
        .caozuo {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            z-index: 999;
            @include border-radius();
            display: none;
            justify-content: center;
            align-items: center;
            .btn-dashed {
                margin: 0 3px;
                line-height: normal;
            }
        }
        .templete-state {
            width: 100px;
            height: 24px;
            line-height: 24px;
            text-align: center;
            position: absolute;
            right: -30px;
            top: 10px;
            z-index: 99;
            @include box-shadow(0,2px,5px,rgba(0,0,0,0.3));
            @include css3("transform",rotate(45deg));
            .name {
                display: block;
            }
            &.green {
                background: $green;
                .name {
                    color: #fff;
                }
            }
            &.grey {
                background: $grey;
                .name {
                    color: #999999;
                }
            }
        }
        &:hover {
            .caozuo {
                display: flex;
            }
        }
    }
}
.loading {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    justify-content: center;
    align-items: center;
}
.input-deal{
    position: relative;
    .deal-ul{
        background-color: #fff;
        box-shadow: 0 1px 6px rgba(0,0,0,.2);
        border-radius: 4px;
        box-sizing: border-box;
        z-index: 1050;
        left: 0;
        right: 0;
        top: 34px;
        position: absolute;
        outline: none;
        font-size: 12px;
        ul{
            outline: none;
            margin-bottom: 0;
            padding-left: 0;
            list-style: none;
            max-height: 250px;
            overflow: auto;
            li{
                position: relative;
                display: block;
                padding: 7px 8px;
                font-weight: 400;
                color: rgba(0,0,0,.65);
                white-space: nowrap;
                cursor: pointer;
                overflow: hidden;
                text-overflow: ellipsis;
                -webkit-transition: background .3s ease;
                transition: background .3s ease;
                &:hover{
                    background: #ecf6fd;
                }
            }
        }
    }
}

.page-card{
    .ant-card{
        margin:16px 0 0 0 ;
        .ant-card-head{
            padding:0 16px;
        }
        .ant-card-body{
            padding:16px;
        }
    }
}
.btn-hover{
    .state{
        padding:0 15px;
        height: 28px;
        line-height: 28px;
        color:#fff;
        @include border-radius();
        display: block;
    }
}
.hover-content{
    position: relative;
    .btn-add-cont{
        .btn-hover{
            margin:10px 8px;
        }
    }
    .hover-content-caozuo{
        position: absolute;
        right:8px;
        top:8px;
        line-height: 34px;
        z-index: 99;
        @include opacity(0);
        visibility: hidden;
        @include css3('transition',all 0.3s);
        .caozuo-blue,.caozuo-red{
            margin:0 5px;
            cursor: pointer;
            .anticon{
                font-size: 16px;
            }
        }
        .caozuo-blue{
            color:$blue
        }
        .caozuo-red{
            color:$red
        }
    }
    &:hover{
        background: $bg_grey;
        .hover-content-caozuo {
            @include opacity(1);
            visibility: inherit;
        }
    }
}

//欢迎页
.welcome{
    display: flex;
    min-height: calc(100vh - 55px - 32px);
    flex-direction: column;
    .welcome-middle{
        display: flex;
        flex: 1;
        justify-content: center;
        align-items: center;
        .welcome-img{
            display: flex;
        }
        .welcome-name{
            padding-left: 32px;
            .name{
                border-bottom: 1px solid $borderColor;
                padding:8px 0;
                color:#333;
                font-size: 30px;
                margin:0 0 8px 0;
                .name-span{
                    margin-right: 16px;
                }
            }
            .keywords-small,.keywords{
                color:$blue
            }
            .keywords{
                font-size: 24px;
                letter-spacing: 2px;
                margin-top: 16px;
            }
            .keywords-small{
                font-size: 12px;
                letter-spacing: 1px;
                text-transform : uppercase
            }
        }
    }
    .welcome-foot{
        justify-content: center;
        align-items: center;
        text-align: center;
        padding: 16px 16px 8px 16px;
        font-size: 14px;
    }
}
//设置
.set-pay-cont{
    padding: 8px;
    .set-pay {
        border:1px solid $borderColor;
        @include border-radius(2px);
        background: #fff;
        .set-pay-title {
            @include hei(48px);
            padding: 0 24px;
            @include clearfix;
            @include border-radius(2px 2px 0 0);
            border-bottom: 1px solid $borderColor;
            .t-left {
                float: left;
                .title{
                    font-size: 14px;
                    color:rgba(0,0,0,.8);
                    margin-left: 8px;
                    display: inline-block;
                }
                .MyIcon{
                    font-size: 16px;
                    vertical-align: middle;
                }
                .wechat{
                    color:#09bb07;
                }
                .alipay{
                    color:#009fe8;
                }
            }
            .t-right {
                float: right;
                @include clearfix;
                .t-right-link,.ant-switch{
                    float: left;
                }
                .ant-switch{
                    margin-top: 13px;
                }
                .t-right-link {
                    margin-right: 16px;
                }
            }
        }
        .set-pay-body {
            padding:24px;
            min-height: 107px;
            @include border-radius(0 0 2px 2px );
            a{
                margin-top: 5px;
                display: block;
            }
        }
        &:hover{
            border-color:transparent;
            @include box-shadow(0,1px,6px,rgba(0,0,0,.2));
        }
    }
}